Method and system for transmitter optimization of an optical PAM serdes based on receiver feedback

ABSTRACT

The present invention is directed to data communication system and methods. More specifically, various embodiments of the present invention provide a communication interface that is configured to transfer data at high bandwidth using PAM format(s) over optical communication networks. A feedback mechanism is provided for adjusting the transmission power levels. There are other embodiments as well.

CROSS-REFERENCES TO RELATED APPLICATIONS

This patent application claims priority to U.S. Provisional PatentApplication No. 61/621,920, filed 9 Apr. 2012, entitled “Method andSystem for transmitter optimization of an optical PAM Serdes based onReceiver feedback”, and is a continuation-in-part (CIP) application ofU.S. patent application Ser. No. 13/791,201, filed 8 Mar. 2013, titled“OPTICAL COMMUNICATION INTERFACE UTILIZING CODED PULSE AMPLITUDEMODULATION”, which claims priority from U.S. Provisional PatentApplication No. 61/714,543, filed 16 Oct. 2012, titled “100 G PAM CODEDMODULATION”, and U.S. Provisional Patent Application No. 61/699,724,titled “ADAPTIVE ECC FOR FLASH MEMORY”, each of which are incorporatedby reference herein for all purposes.

BACKGROUND OF THE INVENTION

The present invention is directed to data communication systems andmethods.

Over the last few decades, the use of communication networks exploded.In the early days Internet, popular applications were limited to emails,bulletin board, and mostly informational and text-based web pagesurfing, and the amount of data transferred was usually relativelysmall. Today, Internet and mobile applications demand a huge amount ofbandwidth for transferring photo, video, music, and other multimediafiles. For example, a social network like Facebook processes more than500 TB of data daily. With such high demands on data and data transfer,existing data communication systems need to be improved to address theseneeds.

Over the past, there have been many types of communication systems andmethods. Unfortunately, they have been inadequate for variousapplications. Therefore, improved communication systems and methods aredesired.

BRIEF SUMMARY OF THE INVENTION

The present invention is directed to data communication system andmethods. More specifically, various embodiments of the present inventionprovide a communication interface that is configured to transfer data athigh bandwidth using PAM format(s) over optical communication networks.A feedback mechanism is provided for adjusting the transmission powerlevels. There are other embodiments as well.

It is to be appreciated that by using a feedback loop, the optimal powerlevels for data transmission can be determined, used, and updated,thereby allowing high data transmission rate and low error rate. Variousembodiments of the present invention can be implemented with existingsystems. For example, determination of power transmission levels andthreshold levels can be performed by existing logic units and/orprocessors. There are other benefits as well.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a simplified diagram illustrating a leaf-spine architecture100 according to an embodiment of the present invention.

FIG. 2 is a simplified diagram illustrating the form factor of acommunication device according to an embodiment of the presentinvention.

FIG. 3A is a simplified diagram illustrating a communication interface300 according to an embodiment of the present invention.

FIG. 3B is a simplified diagram illustrating a segmented opticalmodulator according to an embodiment of the present invention.

FIG. 4 is a simplified diagram illustrating a feedback mechanismaccording an embodiment of the invention.

FIG. 5 is a simplified diagram illustrating the relationship betweensignal and noise according to an embodiment of the present invention.

FIG. 6 is a simplified flow diagram illustrating a process for adjustingtransmission power levels according to an embodiment of the presentinvention.

DETAILED DESCRIPTION OF THE INVENTION

The present invention is directed to data communication system andmethods. More specifically, various embodiments of the present inventionprovide a communication interface that is configured to transfer data athigh bandwidth using PAM format(s) over optical communication networks.A feedback mechanism is provided for adjusting the transmission powerlevels. There are other embodiments as well.

In the last decades, with advent of cloud computing and data center, theneeds for network servers have evolved. For example, the three-levelconfiguration that have been used for a long time is no longer adequateor suitable, as distributed applications require flatter networkarchitectures, where server virtualization that allows servers tooperate in parallel. For example, multiple servers can be used togetherto perform a requested task. For multiple servers to work in parallel,it is often imperative for them to be share large amount of informationamong themselves quickly, as opposed to having data going back forththrough multiple layers of network architecture (e.g., network switches,etc.).

Leaf-spine type of network architecture is provided to better allowservers to work in parallel and move data quickly among servers,offering high bandwidth and low latencies. Typically, a leaf-spinenetwork architecture uses a top-of-rack switch that can directly accessinto server nodes and links back to a set of non-blocking spine switchesthat have enough bandwidth to allow for clusters of servers to be linkedto one another and share large amount of data.

In a typical leaf-spine network today, gigabits of data are shared amongservers. In certain network architectures, network servers on the samelevel have certain peer links for data sharing. Unfortunately, thebandwidth for this type of set up is often inadequate. It is to beappreciated that embodiments of the present invention utilizes PAM(e.g., PAM8, PAM12, PAM16, etc.) in leaf-spine architecture that allowslarge amount (up terabytes of data at the spine level) of data to betransferred via optical network.

The following description is presented to enable one of ordinary skillin the art to make and use the invention and to incorporate it in thecontext of particular applications. Various modifications, as well as avariety of uses in different applications will be readily apparent tothose skilled in the art, and the general principles defined herein maybe applied to a wide range of embodiments. Thus, the present inventionis not intended to be limited to the embodiments presented, but is to beaccorded the widest scope consistent with the principles and novelfeatures disclosed herein.

In the following detailed description, numerous specific details are setforth in order to provide a more thorough understanding of the presentinvention. However, it will be apparent to one skilled in the art thatthe present invention may be practiced without necessarily being limitedto these specific details. In other instances, well-known structures anddevices are shown in block diagram form, rather than in detail, in orderto avoid obscuring the present invention.

The reader's attention is directed to all papers and documents which arefiled concurrently with this specification and which are open to publicinspection with this specification, and the contents of all such papersand documents are incorporated herein by reference. All the featuresdisclosed in this specification, (including any accompanying claims,abstract, and drawings) may be replaced by alternative features servingthe same, equivalent or similar purpose, unless expressly statedotherwise. Thus, unless expressly stated otherwise, each featuredisclosed is one example only of a generic series of equivalent orsimilar features.

Furthermore, any element in a claim that does not explicitly state“means for” performing a specified function, or “step for” performing aspecific function, is not to be interpreted as a “means” or “step”clause as specified in 35 U.S.C. Section 112, Paragraph 6. Inparticular, the use of “step of” or “act of” in the Claims herein is notintended to invoke the provisions of 35 U.S.C. 112, Paragraph 6.

Please note, if used, the labels left, right, front, back, top, bottom,forward, reverse, clockwise and counter clockwise have been used forconvenience purposes only and are not intended to imply any particularfixed direction. Instead, they are used to reflect relative locationsand/or directions between various portions of an object.

FIG. 1 is a simplified diagram illustrating a leaf-spine architecture100 according to an embodiment of the present invention. This diagram ismerely an example, which should not unduly limit the scope of theclaims. One of ordinary skill in the art would recognize manyvariations, alternatives, and modifications. The leaf-spine architecture100 comprises servers 120, leaf switches 110, and spine switches 103. Itis to be appreciated that depending on the need and specificapplication, the number and arrangement of the servers and switches maybe changed. As shown in FIG. 1, each server may be connected to morethan one leaf switch. For example, server 121 is connected to leafswitches 111 and 112. Similarly, server 122 is connected to leafswitches 111 and 112, and so is server 123. In an exemplary embodiment,server 121 is connected to the leaf switch 111 via optical communicationlink utilizing pulse amplitude modulation (PAM). PAM2, PAM4, PAM8,PAM12, PAM16, and/or other variations of PAM may also be used inconjunction with optical communication links in various embodiments ofthe present invention. The bandwidth of the optical communication linkbetween the server 121 and leaf switch 111 can be over 10 gigabits/s.Each leaf switch, such as leaf switch 111, may be connected to 10 ormore servers. In one implementation, a leaf switch has a bandwidth of atleast 100 gigabits/s.

In a specific embodiment, a leaf switch comprises a receiver deviceconfigured to receive four communication channels, and each of thechannels is capable of transferring incoming data at 25 gigabits/s andconfigured as a PAM-2 format. Similarly, a server (e.g. server 121)comprises communication interface that is configured to transmit andreceive at 100 gigabits/sec (e.g., four channels at 25 gigabits/s perchannel), and is compatible with the communication interface of the leafswitches. The spine switches, similarly, comprise communicationinterfaces for transmitting and receiving data in PAM format. The spineswitches may have a large number of communication channels toaccommodate a large number of leaf switches, each of which providesswitching for a large number of servers.

The leaf switches are connected to spine switches. As shown in FIG. 1,each leaf switch is connected to spine switches 101 and 102. Forexample, leaf switch 111 is connected to the spine switch 101 and 102,and so are leaf switches 113 and 114. In a specific embodiment, each ofthe spine switches is configured with a bandwidth of 3.2 terabytes/s,which is big enough to communicate 32 optical communication links at 100gigabits/s each. Depending on the specific implementation, otherconfiguration and bandwidth are possible as well.

The servers, through the architecture 100 shown in FIG. 1, cancommunicate with one another efficiently with a high bandwidth. Opticalcommunication links are used between servers and leaf switches, and alsobetween leaf switches and spine switches, and PAM utilized for opticalnetwork communication.

It is to be appreciated that the PAM communication interfaces describedabove can be implemented in accordance with today communicationstandards form factors. In addition, afforded by high efficiency level,network transceivers according to embodiments of the present inventioncan have much lower power consumption and smaller form factor comparedto conventional devices. FIG. 2 is a simplified diagram illustrating theform factor of a communication device according to an embodiment of thepresent invention. Today, C form-factor pluggable (CFP) standard iswidely adapted for gigabit network systems. Conventionalelectrical-connection based CFP transceivers often use 10×10 gigabits/slines to achieve high bandwidth. With optical connection, CFPtransceivers can utilize 10×10 gigabits/s configuration, 4×25 gigabits/sconfiguration, or others. It is to be appreciated that by utilizingoptical communication link and PAM format, a transceiver according tothe present invention can have a much smaller form factor than CFP andCFP2 as shown. In various embodiments, communication interfacesaccording to the invention can have a form factor of CFP4 or QSFP, whichare much smaller in size than the CFP. In addition to smaller formfactors, the power consumption of communication interfaces according tothe present invention can be much smaller. In a specific embodiment,with the form factor of QSFP, the power consumption can be as low asabout 3 W, which is about ¼ that of convention transceivers with CFPform factor. The reduce level of power consumption helps save energy atdata centers, where thousands (sometimes millions) of thesecommunication devices are deployed.

FIG. 3A is a simplified diagram illustrating a communication interface300 according to an embodiment of the present invention. This diagram ismerely an example, which should not unduly limit the scope of theclaims. One of ordinary skill in the art would recognize manyvariations, alternatives, and modifications. The communication interface300 includes transmitter module 310 and a receiver module 320. Thetransmitter module 310 comprises a receiver 311, encoder 312, and PAMmodulation driver 313.

In an embodiment, the communication interface 300 is configured toreceive incoming data at through four channels, where each channel isconfigured at 25 gigabits/s and configured as a PAM-2 format. Using thetransmitter module 310, modulator 316, and the laser 314, thecommunication interface 300 processes data received at 25 gigabits/sfrom each of the four incoming channels, and transmits PAM modulatedoptical data stream at a bandwidth of 100 gigabits/s. It is to beappreciated that other bandwidths are possible as well, such as 40 Gbps,400 Gbps, and/or others.

As shown the transmitter module 310 receives 4 channels of data. It isto be appreciated that other variants of pulse-amplitude modulation(e.g., PAM4, PAM8, PAM12, PAM16, etc.), in addition to PAM-2 format, maybe used as well. The transmitter module 310 comprises functional block311, which includes a clock data recovery (CDR) circuit configured toreceive the incoming data from the four communication channels. Invarious embodiments, the functional block 311 further comprisesmultiplexer for combining 4 channels for data. For example, data fromthe 4 channels as shown are from the PCE-e interface 350. For example,the interface 350 is connected to one or more processors. In a specificembodiment, two 2:1 multiplexers are employed in the functional block311. For example, the data received from the four channels arehigh-speed data streams that are not accompanied by clock signals. Thereceiver 311 comprises, among other things, a clock signal that isassociated with a predetermined frequency reference value. In variousembodiments, the receiver 311 is configured to utilize a phase-lockedloop (PLL) to align the received data.

The transmitter module 310 further comprises an encoder 312. As shown inFIG. 3, the encoder 312 comprises a forward error correction (FEC)encoder. Among other things, the encoder 312 provides error detectionand/or correction as needed. For example, the data received is in aPAM-2 format as described above. The received data comprises redundancy(e.g., one or more redundant bits) helps the encoder 312 to detecterrors. In a specific embodiment, low-density parity check (LDPC) codesare used. The encoder 312 is configured to encode data received fromfour channels as shown to generate a data stream that can be transmittedthrough optical communication link at a bandwidth 100 gigabits/s (e.g.,combining 4 channels of 25 gigabits/s data). For example, each receivedis in the PAM-2 format, and the encoded data stream is a combination offour data channels and is in PAM-8 format. Data encoding and errorcorrection are used under PAM format. The PAM formats as used in theembodiments of the present invention are further described below.

The PAM modulation driver 313 is configured to drive data stream encodedby the encoder 312. In various embodiments, the receiver 311, encoder312, and the modulation driver 313 are integrated and part of thetransmitter module 310.

The PAM modulator 316 is configured to modulate signals from thetransmitter module 310, and convert the received electrical signal tooptical signal using the laser 314. For example, the modulator 316generates optical signals at a transmission rate of 100 gigabits persecond. It is to be appreciated that other rate are possible as well,such as 40 Gbps, 400 Gbps, or others. The optical signals aretransmitted in a PAM format (e.g., PAM-8 format, PAM12, PAM 16, etc.).In various embodiments, the laser 314 comprises a distributed feedback(DFB) laser. Depending on the application, other types of lasertechnology may be used as well, as such vertical cavity surface emittinglaser (VCSEL) and others.

FIG. 3B is a simplified diagram illustrating a segmented opticalmodulator according to an embodiment of the present invention. Thisdiagram is merely an example, which should not unduly limit the scope ofthe claims. One of ordinary skill in the art would recognize manyvariations, alternatives, and modifications. For example, modulated PAMsignals modulated for transmission over optical communication links.

Now referring back to FIG. 3A. The communication interface 300 isconfigured for both receiving and transmitting signals. A receivermodule 320 comprise a photo detector 321 that converts incoming datasignal in an optical format converts the optical signal to an electricalsignal. In various embodiments, the photo detector 321 comprises indiumgallium arsenide material. For example, the photo detector 321 can be asemiconductor-based photodiode, such as p-n photodiodes, p-i-nphotodiodes, avalanche photodiodes, or others. The photo detector 321 iscoupled with an amplifier 322. In various embodiments, the amplifiercomprises a linear transimpedance amplifier (TIA). It is to beappreciated by using TIA, long-range multi-mode (LRM) at high bandwidth(e.g., 100 Gb/s or even larger) can be supposed. For example, the TIAhelps compensate for optical dispersion in electrical domain usingelectrical dispersion compensation (EDC). In certain embodiments, theamplifier 322 also includes a limiting amplifier. The amplifier 322 isused to produce a signal in the electrical domain from the incomingoptical signal. In certain embodiments, further signal processing suchas clock recovery from data (CDR) performed by a phase-locked loop mayalso be applied before the data is passed on.

The amplified data signal from the amplifier 322 is processed by theanalog to digital converter (ADC) 323. In a specific embodiment, the ADC323 can be a baud rate ADC. For example, the ADC is configured toconvert the amplified signal into a digital signal formatted into a 100gigabit per second signal in a PAM format. The functional block 324 isconfigured to process the 100 Gb/s data stream and encode it into fourat streams at 25 Gb/s each. For example, the incoming optical datastream received by the photo detector 321 is in PAM-8 format at abandwidth of 100 Gb/s, and at block 324 four data streams in PAM-2format is generated at a bandwidth of 25 Gb/s. The four data streams aretransmitted by the transmitter 325 over 4 communication channels at 25Gb/s.

It is to be appreciated that there can be many variations to theembodiments described in FIG. 3. For example, different number ofchannels (e.g., 4, 8, 16, etc.) and different bandwidth (e.g., 10 Gb/s,40 Gb/s, 100 Gb/s, 400 Gb/s, 3.2 Tb/s, etc.) can be used as well,depending on the application (e.g., server, leaf switch, spine switch,etc.).

In operation, the communication interface 300 send optical signal toanother communication interface. More specifically, the transmittermodule of one network interface sends signals over optical network tothe receiver module of another network interface. FIG. 4 is a simplifieddiagram illustrating a feedback mechanism according an embodiment of theinvention. This diagram is merely an example, which should not undulylimit the scope of the claims. One of ordinary skill in the art wouldrecognize many variations, alternatives, and modifications. As shown inFIG. 4, the communication interface 410 is linked to and communicateswith the communication interface 410. For example, the communicationinterface 410 transmits data from its PAM modulator, through the optimalcommunication link 422, and to the network interface 420. The networkinterface 420 processes the signal received from the communicationinterface 410, and based on the received signal, determines an optimalpower level for communication between the two communication interfaces410 and 420. The network interface 420 sends, using its own PAMmodulator and other components, the information regarding the optimalpower level to the communication interface 410 via the opticalcommunication link 421.

In various embodiments, the network interface 420 comprises a processorunits that processes the receive the signal to analysis thecharacteristics of optical transmission power and the noise thereof. Forexample, optical signal from the communication interface 410 isprocessed by the photodiode of the communication interface 420 andconverted from optical signal to electrical signal. The characteristicsof optical transmission power and the noise thereof are analyzed by theprocessor unit of the network interface 420. The processor unitdetermines the optimal power level for data transmitted from networkinterface 410 through the optical communication 422. The informationrelated to the optimal power level is transmitted from encoded by theFEC encoder and transmitted through the PAM modulator of the networkinterface 420 to the network interface 410 via the optical communicationlink 421. Detailed description for determining the optimal power levelis described in more details below.

In communications systems where the noise is not dependent upon thesignal level, the transmitter power levels are equispaced (i.e., spacedapart at equal distances) and the receiver threshold levels are set atthe middle of two power levels. In the case of binary level opticalcommunication systems (e.g., PAM optical transmission), where the noiseis transmitted with signal, the receiver threshold level is set awayfrom the midpoint. Typically, in optimal PAM communication, the noise isoften signal dependent, which means that transmission power levelsshould not be equispaced.

FIG. 5 is a simplified diagram illustrating the relationship betweensignal and noise according to an embodiment of the present invention.This diagram is merely an example, which should not unduly limit thescope of the claims. One of ordinary skill in the art would recognizemany variations, alternatives, and modifications. As shown in FIG. 5,the PAM optical communication interface 501 sends signals at M powerlevels, from P₁ to P_(M). Transmitted over optical communicationlink(s), signals is received by the communication interface 502. Invarious embodiments, the received signal is converted from opticalsignal to electrical signal by a photodiode, and then amplified by aTIA. The inputs received by the communication interface 502 compriseboth signals V and noise M. For example, at different power levels, theinputs at different power levels are V₁+N₁ to V_(M)+N_(M). It is to beappreciated that when transmitting signals over optical communicationlinks, not only is power levels are selected, but the power levels areactually set. With the power levels that are set by the feedback system,the transmitter has optimized power levels to select from.

FIG. 5 shows that the capacity achieving measures can be a function ofthe signal dependence of the noise. For example, it can be seen thatdistance between neighboring levels increases when the noise is moredependent on the signal and that the distance between the levels issmaller for lower signal levels. For example, the difference of powerlevel between V_(M)+N_(M) and V_(M−1)+N_(M−1) is greater than thedifference of power levels between V₂+N₂ and V₁+N₁.

In various embodiment, a way of adjusting the power levels can beachieved at the receiver for a given set of receiver threshold levels.These transmission power levels can then be sent back to thetransmitter. After the transmit level are changed, the receiver thenre-adjusts it threshold levels and once again computes the optimaltransmission power levels for this set of receiver parameters. In thisway the feedback loop can be adjusted.

It is to be appreciated that methods for calculating the optimalreceiver thresholds for a given set of transmitter levels and noise isgiven in the equations, which are provided below. Similarly, a methodfor calculating the optimal transmitter power levels for a given set ofreceiver thresholds and noise is also provided. In these equations it isassumed that the noise has 3 components: (1) a signal independentcomponent, (2) a component proportional to the signal power, and (3) acomponent proportional to the square of the signal power. The componentsof noise are attributed to the source or cause of noise, such as thepresent of short noise and laser intensity noise (RIN). For example,instead of explicitly calculating the levels, the equations can be usedto compute a gradient method of adjusting the receiver and transmitterparameters to optimize the system.

Now referring back to FIG. 5. For receiver power levels from V₁+N₁ toV_(M)+N_(M), receiver threshold levels T₁ to T_(M−1) are set betweeninput levels. For transmission performance, it is needed to determinetransmission power levels and the receiver threshold levels to minimizetransmission errors. As boundary conditions, the transmission levels P₁and P_(M) are set by the ratio of the transmitter and the maximum laserpower available at the transmitter.

A received input V_(k)+N_(k) has a signal component V_(k) and noisecomponent N_(k). The signal component V_(k) received at the receivingend is proportional to the signal recovered optical power P_(k):V _(k) ∝P _(k) , k=1, . . . ,M

The noise at the receiving end, as described above, has threecomponents: (1) a signal independent component, (2) a componentproportional to the signal power, and (3) a component proportional tothe square of the signal power, which can be expressed as follows:σ_(Nk) ²=σ_(TIA) ²+σ_(Sh,k) ²+σ_(RINk) ²

Where:

-   -   σ_(RINk) ²=βP_(k) ²    -   σ_(Sh,k) ²=γP_(k)    -   σ_(TIA) ²=δ

The noise associated with the laser intensity noise (RIN) isproportional to the square of the optical power. The shot noise(σ_(Sh,k)) is proportional to the optical power. The TIA noise isindependent of the of the optical power. As modeled, these noisecomponents are independent from one another, and the variance is added.For the purpose of modeling, these three components are assumed to beGaussian.

The probability of error P_(e) from the transmission can be calculatedas:

$\begin{matrix}{P_{e} = {\frac{1}{M}{\sum\limits_{k = 1}^{M - 1}{\frac{1}{\gamma}\left( {{f\left( \frac{V_{k + 1} - T_{k}}{\sqrt{2}\sigma_{k + 1}} \right)} + {f\left( \frac{T_{k} - V_{k}}{\sqrt{2}\sigma_{k}} \right)}} \right)}}}} & \left( {{Equation}\mspace{20mu} 1} \right)\end{matrix}$

$\begin{matrix}{\text{where:}{{f(x)} = {\frac{2}{\sqrt{\pi}}{\int_{x}^{\infty}{{\mathbb{e}}^{- t^{2}}\ {\mathbb{d}t}}}}}} & \left( {{Equation}\mspace{14mu} 2} \right)\end{matrix}$

$\begin{matrix}{\text{hence:}{\frac{\mathbb{d}{f(x)}}{\mathbb{d}x} = {\frac{- 2}{\sqrt{\pi}}{\mathbb{e}}^{- x^{2}}}}} & \left( {{Equation}\mspace{14mu} 3} \right)\end{matrix}$

For optimal transmission power levels, the optimal threshold values needto be determined. More specifically, for a given set of transmissionpower levels, P₁, . . . , P_(M), the threshold levels T₁, . . . ,T_(M−1) are to be determined, where the probably of error P_(e) isminimized:

$\begin{matrix}{{{\frac{\partial P_{e}}{\partial T_{l}} = 0},{l = 1},\ldots\mspace{11mu},{M - 1}}{\frac{1}{2\; M}\left( {{{\frac{\partial}{\partial T_{l}}{f\left( \frac{V_{l + 1} - T_{l}}{\sqrt{2}\sigma_{l + 1}} \right)}} + {\frac{\partial}{\partial T_{l}}{f\left( \frac{T_{l} - V_{l}}{\sqrt{2\;}\sigma_{l}} \right)}}} = {0\frac{- 2}{\sqrt{\pi}}\left( {{{{\mathbb{e}}^{- {(\frac{V_{l + 1} - T_{l}}{\sqrt{2}\sigma_{l + 1}})}^{2}}\frac{\left( {- 1} \right)}{\sqrt{2}\sigma_{l + 1}}} + {{\mathbb{e}}^{- {(\frac{T_{l} - V_{l}}{\sqrt{2}\sigma_{l}})}^{2}}\frac{\left( {- 1} \right)}{\sqrt{2}\sigma_{l}}}} = {{{0\left( \frac{V_{l + 1} - T_{l}}{\sqrt{2}\sigma_{l + 1}} \right)^{2}} + {\ln\left( \sigma_{l + 1} \right)}} = {\left( \frac{T_{l} - V_{l}}{\sqrt{2}\sigma_{l}} \right)^{2} + {\ln\left( \sigma_{l} \right)}}}} \right.}} \right.}} & \left( {{Equation}\mspace{14mu} 4} \right)\end{matrix}$

The threshold levels T_(l), l=1, . . . , M−1 are obtained by solving theequation above.

By approximation where ln(σ_(l+1))≅ln(σ_(l)), the followingapproximation can be obtained:

$\begin{matrix}{{\left( \frac{V_{l + 1} - T_{l}}{\sqrt{2}\sigma_{l + 1}} \right)^{2} = \left( \frac{T_{l} - V_{l}}{\sqrt{2}\sigma_{l}} \right)^{2}}{Or}{T_{1} \cong \frac{{\sigma_{l}V_{l + 1}} + {\sigma_{l + 1}V_{l}}}{\sigma_{l + 1} + \sigma_{l}}}} & \left( {{Equation}\mspace{14mu} 5} \right)\end{matrix}$

For a given set of receiver threshold levels, T₁, . . . , T_(M−1), thetransmission power levels are adjusted to minimized the systemprobability of error, or P_(e). To minimize P_(e), the followingequation is used:

$\begin{matrix}{{{\frac{\partial P_{e}}{\partial P_{l}} = 0},{l = 2},\ldots\mspace{14mu},{M - 1}}{\frac{1}{2\; M}\left( {{{\frac{\partial}{\partial P_{l}}{f\left( \frac{T_{l} - V_{l}}{\sqrt{2}\sigma_{l}} \right)}} + {\frac{\partial}{\partial P_{l}}{f\left( \frac{V_{l} - T_{l - 1}}{\sqrt{2}\sigma_{l}} \right)}}} = {{0\frac{- 2}{\sqrt{\pi}}\left( {{{\mathbb{e}}^{- {(\frac{T_{l} - V_{l}}{\sqrt{2}\sigma_{l}})}^{2}}\frac{\partial}{\partial P_{l}}} + {{\mathbb{e}}^{- {(\frac{V_{l} - T_{l - 1}}{\sqrt{2}\sigma_{l}})}^{2}}\frac{\partial}{\partial P_{l}}\left( \frac{V_{l} - T_{l - 1}}{\sqrt{2}\sigma_{l}} \right)}} \right)} = 0}} \right.}} & \left( {{Equation}\mspace{14mu} 6} \right)\end{matrix}$

$\begin{matrix}{{\frac{\partial}{\partial P_{l}}\left( \frac{T_{l} - V_{l}}{\sqrt{2}\sigma_{l}} \right)} = {{\frac{\partial}{\partial P_{l}}\left( \frac{T_{l} - {\gamma\; P_{l}}}{\sqrt{{\beta\; P_{l}^{2}} + {\gamma\; P_{l}} + \delta}} \right)} = {\frac{{\sqrt{{\beta\; P_{l}^{2}} + {\gamma\; P_{l}} + \delta}\left( {- \gamma} \right)} - \frac{\left( {T_{l} - {\gamma\; P_{l}}} \right)\left( {{2\;\beta\; P_{l}} + \gamma} \right)}{2\sqrt{{\beta\; P_{l}^{2}} + {\gamma\; P_{l}} + \delta}}}{{\beta\; P_{l}^{2}} + {\gamma\; P_{l}} + \delta} = 0}}} & \left( {{Equation}\mspace{14mu} 7} \right)\end{matrix}$and

$\begin{matrix}{{\frac{\partial}{\partial P_{l}}\left( \frac{V_{l} - T_{l - 1}}{\sigma_{l}} \right)} = {{\frac{\partial}{\partial P_{l}}\left( \frac{{\gamma\; P_{l}} - T_{l - 1}}{\sqrt{{\beta\; P_{l}^{2}} + {\gamma\; P_{l}} + \delta}} \right)} = {\frac{{\sqrt{{\beta\; P_{l}^{2}} + {\gamma\; P_{l}} + \delta}(\gamma)} - \frac{\left( {{\gamma\; P_{l}} - T_{l - 1}} \right)\left( {{2\;\beta\; P_{l}} + \gamma} \right)}{2\sqrt{{\beta\; P_{l}^{2}} + {\gamma\; P_{l}} + \delta}}}{{\beta\; P_{l}^{2}} + {\gamma\; P_{l}} + \delta} = 0}}} & \left( {{Equation}\mspace{14mu} 8} \right)\end{matrix}$

By substituting Equations 7 and 8 into Equation 6, Equation 9 below isobtained:

$\begin{matrix}{{{\mathbb{e}}^{- {(\frac{T_{l} - {\gamma\; P_{l}}}{\sqrt{2}\sigma_{l}})}^{2}}\left( {{\left( {{\beta\; P_{l}^{2}} + {\gamma\; P_{l}} + \delta} \right)\left( {- \gamma} \right)} - \frac{\left( {T_{l} - {\gamma\; P_{l}}} \right)\left( {{2\;\beta\; P_{l}} + \gamma} \right)}{2}} \right)} + {{\mathbb{e}}^{- {(\frac{\gamma\; P_{l}T_{l - 1}}{\sqrt{2}\sigma_{l}})}^{2}}{\quad\left( {{{\left( {{\beta\; P_{l}^{2}} + {\gamma\; P_{l}} + \delta} \right)(\gamma)} - \left. \quad{\left( {{\gamma\; P_{l}} - T_{l - 1}} \right)\left( {{2\;\beta\; P_{l}} + \gamma} \right)} \right)} = 0} \right.}}} & \left( {{Equation}\mspace{14mu} 9} \right)\end{matrix}$

Equation 9 is solved for l=2, . . . , M−1, given T_(l), . . . , T_(l−1)for transmission power levels P₂, . . . , P_(M−1), to minimize theprobably of transmission error.

To apply the equations above, the feedback loop described above is usedfor adjusting transmission power levels. FIG. 6 is a simplified flowdiagram illustrating a process for adjusting transmission power levelsaccording to an embodiment of the present invention. This diagram ismerely an example, which should not unduly limit the scope of theclaims. One of ordinary skill in the art would recognize manyvariations, alternatives, and modifications. For example, one or moresteps may be added, removed, replaced, repeated, modified, rearranged,and/or repeated.

At step 601, the transmission power levels and threshold levels areinitialized. For example, network interfaces (e.g., network interfaces410 and 420) have a set of predetermined transmission power levels andthreshold levels. Depending on the actual application, the transmissionpower levels and threshold level may or may not be reset or initializedat each start up.

At step 602, threshold levels at the receiving network interface areoptimized based on the received power and noise levels. For example, thenetwork interface 420 receives transmissions from the network interface430. After processing the transmission is received by the networkinterface 420 (e.g., converted from optical signal to electrical signalby photodiode), the signal power level and the noise level aredetermined and used to optimize threshold levels, which are stored atthe network interface 420. For example, the optimized threshold levelsare determined by using equations explained above, which take, amongother things, three noise components, into account.

At step 603, the receiving network interface computes new transmissionpower levels to be used by the transmitting network interface. Thecomputation of transmission power levels is based at least on thethreshold levels. For example, the relationship between the transmissionpower level and the threshold levels are described above.

At step 604, the receiving network interface (e.g., network interface420) sends transmission power levels to the transmitting networkinterface (e.g., network interface 410). For example, the transmissionpower level information is encoded and transmitted by the receivingnetwork interface over optical communication links.

At step 605, the transmission power levels are received by thetransmitting network interface, which adjusts its transmission powerlevels continues. For example, the transmitting network interface 410 inFIG. 4 adjusts its transmission power levels using the transmissionpower level information received from the network interface 420.

In various embodiments, the network interfaces that communicate with oneanother update the transmission power levels more than once duringoperation. More specifically, the receiving network interface continuesto optimize threshold levels based on the signal and noise levels of thereceived transmissions. For example, the receiving network interfaceperiodically updates the threshold level. In certain embodiments, thereceiving network interface updates threshold level when a substantialchange in transmission power and noise levels is detected. The update ofthreshold levels can be triggered by other events as well. For example,after step 605, the processes loops back to step 602 so that thetransmission levels can be adjusted and optimized as needed.

It is to be appreciated that by using a feedback loop, the optimal powerlevels for data transmission can be determined, used, and updated,thereby allowing high data transmission rate and low error rate. Variousembodiments of the present invention can be implemented with existingsystems. For example, determination of power transmission levels andthreshold levels can be performed by existing logic units and/orprocessors. There are other benefits as well.

While the above is a full description of the specific embodiments,various modifications, alternative constructions and equivalents may beused. Therefore, the above description and illustrations should not betaken as limiting the scope of the present invention which is defined bythe appended claims.

What is claimed is:
 1. A network interface device comprising: a firstoptical communication interface configured to receive an optical signaltransmission transmitted over an optical communication link, the opticalsignal transmission being characterized by a signal level and a noiselevel, the optical signal transmission being received from a transmitterdevice; a photodiode configured to convert the optical signaltransmission to an electrical signal transmission; a TIA configured toamplify the electrical signal transmission; a processor configured tocalculate a set of threshold levels based on at least the signal leveland the noise level, the processor being configured to generate a set ofpower transmission levels for the transmitter device, the powertransmission levels being based on at least one of the threshold levels,the power transmission levels being non-equispaced; an encoder forencoding the power transmission levels; a second optical communicationinterface for sending the encoded power transmission levels to thetransmitter device.
 2. The device of claim 1 further comprising ananalog to digital converter for converting electrical amplifiedelectrical transmission to digital signals.
 3. The device of claim 1further comprising a PAM modulation driver for driving the encoded powertransmission levels.
 4. The device of claim 1 further comprising a laserfor driving output signals.
 5. The device of claim 1 wherein thetransmitter device adjust transmission power levels for sending data tothe network interface based on the encoded power transmission powerlevel.
 6. The device of claim 1 wherein the noise level includes asignal independent component, a component proportional to the signalpower, and a component proportional to the square of the signal power.7. The device of claim 1 wherein the threshold levels are initialized ata start stage.
 8. The device of claim 1 wherein the power transmissionlevels are initialized at a start stage.
 9. The device of claim 1further comprising a PAM driver configured to drive the encoded powertransmission levels.
 10. The device of claim 1 wherein the first opticalcommunication interface is part of a spine switch of a leaf-spinenetwork architecture.
 11. The device of claim 1 wherein the firstoptical communication interface is part of a leaf switch of a leaf-spinenetwork architecture.
 12. The device of claim 1 wherein the firstoptical communication interface is part of a server of a leaf-spinenetwork architecture.
 13. The device of claim 1 further comprising aPhase Lock Loop (PLL).
 14. The device of claim 13 wherein the PLL isconfigured to perform clock recovery from data.
 15. The device of claim1 wherein the TIA further includes a limiting amplifier.
 16. The deviceof claim 1 wherein the TIA is configured to perform electricaldispersion compensation.
 17. The device of claim 1 further comprising afunctional block configured to perform error correction.
 18. The deviceof claim 17 wherein the error correction comprises Forward ErrorCorrection (FEC).
 19. The device of claim 1 further comprising an Analogto Digital Converter.
 20. The device of claim 1 wherein the photodiodecomprises a semiconductor-based photodiode.